package cn.toolck.my.spring.pojo;

import cn.toolck.my.spring.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName BeanDefinition
 * @Description 封装bean的定义的
 * @Author Toolck Rin
 * @Date 2021/2/8 16:53
 * @Version 1.0
 **/
public class BeanDefinition {
    private String name;
    private Class<?> className;
    private List<String> autoFieldName = new ArrayList<>();
    private Transactional transactional;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Class<?> getClassName() {
        return className;
    }

    public void setClassName(Class<?> className) {
        this.className = className;
    }

    public List<String> getAutoFieldName() {
        return autoFieldName;
    }

    public void setAutoFieldName(List<String> autoFieldName) {
        this.autoFieldName = autoFieldName;
    }

    public Transactional getTransactional() {
        return transactional;
    }

    public void setTransactional(Transactional transactional) {
        this.transactional = transactional;
    }
}
